<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>文件上传</title>
</head>
<body>
<form action="{:url('Student/upload')}" method="post" enctype="multipart/form-data">
   上传文件：<input type="file" name="myphoto" /><br/>
   <input type="submit" value="上传" name="sub" />
</form>
<img src="__PUBLIC__\uploads\{$savename??''}" />
</body>
</html>